﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MapleLeaf.Application.CookBook.Models
{
    public class OptionType
    {
        /// <summary>
        /// 选项值
        /// </summary>
        public required long Value { get; set; }
        /// <summary>
        /// 选项标签
        /// </summary>
        public required string Label { get; set; }
        /// <summary>
        /// 子选项
        /// </summary>
        public List<OptionType>? Children { get; set; } = [];
    }
}
